/**
 * All Rights Reserved , Copyright (C) 2021 , 青岛鼎信通讯股份有限公司
 *
 * MpmProjectReviewActionAuto
 * 项目复盘结项
 *
 * 修改纪录
 * 2021-01-18 版本：1.0 wudaliang 创建。
 * @version 版本：1.0
 * @author 作者：wudaliang
 * 创建日期：2021-01-18
 */
package com.topscomm.mpm.controller.auto;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.topscomm.mpm.MpmController;
import com.topscomm.mpm.pojo.MpmProjectReviewEntity;
import com.topscomm.mpm.service.IMpmProjectReviewService;
import com.topscomm.pub.vo.ResponseResult;

public class MpmProjectReviewControllerAuto extends MpmController<MpmProjectReviewEntity, IMpmProjectReviewService> {
	/**
	 *
	 * @description:
	 * @param paraMap
	 * @return
	 * @author: wudaliang
	 * @date: 2021-01-18
	 * @modify:
	 */
	@Override
	@GetMapping(value = "/dataCodeList")
	public ResponseResult<Object> dataCodeList(@RequestParam(required = false) Map<String, Object> paraMap) {
		Map<String, Object> codeMap = new HashMap<String, Object>();

		List<Map<String, Object>> settlementmoneyList = datacodeCache.getCodeListMap("Ehrrelatetype", "", "sortcode");
		codeMap.put("settlementmoneyList", settlementmoneyList);
		List<Map<String, Object>> flowidList = flowDatacodeCache.getApprovalFlowListMap("ApprovalFlow_EhrEmployeeFamily", this.getUserBean(), "sortcode");
		codeMap.put("flowidList", flowidList);
		List<Map<String, Object>> stateList = datacodeCache.getCodeListMap("TapApprovalBillState", "", "sortcode");
		codeMap.put("stateList", stateList);
		List<Map<String, Object>> enabledList = datacodeCache.getCodeListMap("CboYesNo", "", "sortcode");
		codeMap.put("enabledList", enabledList);
		List<Map<String, Object>> endtypeList = datacodeCache.getCodeListMap("MpmEndType", "", "sortcode");
		codeMap.put("endtypeList", endtypeList);
		List<Map<String, Object>> iswinbidList = datacodeCache.getCodeListMap("MpmIsWinBid", "", "sortcode");
		codeMap.put("iswinbidList", iswinbidList);
		List<Map<String, Object>> whetherbiddetailsList = datacodeCache.getCodeListMap("CboYesNo", "", "sortcode");
		codeMap.put("whetherbiddetailsList", whetherbiddetailsList);
		List<Map<String, Object>> mpmprojectresultList = datacodeCache.getCodeListMap("MpmProjectResult", "", "sortcode");
		codeMap.put("mpmprojectresultList", mpmprojectresultList);
		List<Map<String, Object>> mpmreviewthisbidscoreList = datacodeCache.getCodeListMap("MpmReviewThisBidScore", "", "sortcode");
		codeMap.put("mpmreviewthisbidscoreList", mpmreviewthisbidscoreList);
		List<Map<String, Object>> mpmreviewbidscoreList = datacodeCache.getCodeListMap("MpmReviewBidScore", "", "sortcode");
		codeMap.put("mpmreviewbidscoreList", mpmreviewbidscoreList);
		List<Map<String, Object>> mpmthisbidList = datacodeCache.getCodeListMap("MpmThisBidList", "", "sortcode");
		codeMap.put("mpmthisbidList", mpmthisbidList);
		List<Map<String, Object>> mpmbidmarkList = datacodeCache.getCodeListMap("MpmBidMark", "", "sortcode");
		codeMap.put("mpmbidmarkList", mpmbidmarkList);
		List<Map<String, Object>> mpmsmallbidscoreList = datacodeCache.getCodeListMap("MpmSmallBidScore", "", "sortcode");
		codeMap.put("mpmsmallbidscoreList", mpmsmallbidscoreList);
		List<Map<String, Object>> mpmexpertList = datacodeCache.getCodeListMap("MpmExpertList", "", "sortcode");
		codeMap.put("mpmexpertList", mpmexpertList);
		super.dataCodeList(paraMap);
		return ResponseResult.ok(codeMap);
	}

}

